#ifndef MESSAGELIST_H
#define MESSAGELIST_H

#include <QWidget>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QLabel>
#include <QListWidget>
#include <QStringListModel>
#include <QPushButton>
#include <QFontDatabase>
class MessageList : public QWidget
{
    Q_OBJECT
public:
    explicit MessageList(QWidget *parent = nullptr);
    QHBoxLayout *hLayout;
    //司机身份
    QVBoxLayout *driverBoxLayout;
    QLabel *driverLabel[4];
    //滚动信息
    QListWidget *listView;

    //按钮
    QWidget *btnWidget;
    QVBoxLayout *vLayout;
    QPushButton *pushButton[2];
private:
    void setUI();
signals:

};

#endif // MESSAGELIST_H
